<div class="modal-header">
  <span class="grey">{{widget_title}}</span>
  <button type="button" class="close" ng-click="closeModal()"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
</div>
<div class="modal-body">
  <form role='form' name="certificate_require_form" class="form-horizontal" ng-submit='save()'>

    <div class='form-group'>
      <label class="col-sm-2 col-sm-offset-1 control-label"><span class="text-danger">*</span>审查机构:</label>
      <div class="col-sm-9">
        <select class="col-sm-10" type="text" ng-model="certificate_require.manager_id" ng-options="check_organ.id as check_organ.name for check_organ in check_organs" required>
          <option value="">请选择</option>
        </select>
      </div>
    </div>

    <div class='form-group'>
      <label class="col-sm-2 col-sm-offset-1 control-label"><span class="text-danger">*</span>岗位:</label>
      <div class="col-sm-9">
        <select class="col-sm-10" type="text" ng-model="certificate_require.position_id" ng-options="position.id as position.name for position in positions" required>
          <option value="">请选择</option>
        </select>
      </div>
    </div>

    <div class='form-group'>
      <label class="col-sm-2 col-sm-offset-1 control-label"><span class="text-danger">*</span>证书类型:</label>
      <div class="col-sm-9">
        <select class="col-sm-10" type="text" ng-model="certificate_require.paper_type_id" ng-options="certificate_type.id as certificate_type.name for certificate_type in certificate_types" required>
          <option value="">请选择</option>
        </select>
      </div>
    </div>

    <div class= "form-group">
      <div class="col-sm-2 col-sm-offset-3">
        <button class="btn btn-info" ng-disabled="certificate_require_form.$invalid" type="submit" value="提交">提交</button>
      </div>
    </div>
  </form>
</div>
